home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Now 11 / CD-ROM Now MegaDisc 11 (1995-02).iso / discs / internet / unix7.txt < prev    next >
Internet Message Format  |  1994-10-26  |  15KB

  1. Path: bloom-beacon.mit.edu!senator-bedfellow.mit.edu!faqserv
  2. From: tmatimar@isgtec.com (Ted Timar)
  3. Newsgroups: comp.unix.questions,comp.unix.shell,comp.answers,news.answers
  4. Subject: Unix - Frequently Asked Questions (7/7) [Frequent posting]
  5. Supersedes: <unix-faq/faq/part7_779635319@rtfm.mit.edu>
  6. Followup-To: comp.unix.questions
  7. Date: 23 Sep 1994 19:34:52 GMT
  8. Organization: ISG Technologies, Inc
  9. Lines: 350
  10. Approved: news-answers-request@MIT.Edu
  11. Distribution: world
  12. Expires: 21 Oct 1994 19:25:02 GMT
  13. Message-ID: <unix-faq/faq/part7_780348302@rtfm.mit.edu>
  14. References: <unix-faq/faq/contents_780348302@rtfm.mit.edu>
  15. NNTP-Posting-Host: bloom-picayune.mit.edu
  16. X-Last-Updated: 1994/09/08
  17. Originator: faqserv@bloom-picayune.MIT.EDU
  18. Xref: bloom-beacon.mit.edu comp.unix.questions:32522 comp.unix.shell:13053 comp.answers:7429 news.answers:26213
  19.  
  20. Archive-name: unix-faq/faq/part7
  21. Version: $Id: part7,v 2.5 1994/04/28 19:25:03 tmatimar Exp tmatimar $
  22.  
  23. These seven articles contain the answers to some Frequently Asked
  24. Questions often seen in comp.unix.questions and comp.unix.shell.
  25. Please don't ask these questions again, they've been answered plenty
  26. of times already - and please don't flame someone just because they may
  27. not have read this particular posting.  Thank you.
  28.  
  29. This collection of documents is Copyright (c) 1994, Ted Timar, except
  30. Part 6, which is Copyright (c) 1994, Pierre Lewis and Ted Timar.
  31. All rights reserved.  Permission to distribute the collection is
  32. hereby granted providing that distribution is electronic, no money
  33. is involved, reasonable attempts are made to use the latest version
  34. and all credits and this copyright notice are maintained.
  35. Other requests for distribution will be considered.  All reasonable
  36. requests will be granted.
  37.  
  38. All information here has been contributed with good intentions, but
  39. none of it is guaranteed either by the contributors or myself to be
  40. accurate.  The users of this information take all responsibility for
  41. any damage that may occur.
  42.  
  43. Many FAQs, including this one, are available on the archive site
  44. rtfm.mit.edu in the directory pub/usenet/news.answers.
  45. The name under which a FAQ is archived appears in the "Archive-Name:"
  46. line at the top of the article.  This FAQ is archived as
  47. "unix-faq/faq/part[1-7]".
  48.  
  49. These articles are divided approximately as follows:
  50.  
  51.       1.*) General questions.
  52.       2.*) Relatively basic questions, likely to be asked by beginners.
  53.       3.*) Intermediate questions.
  54.       4.*) Advanced questions, likely to be asked by people who thought
  55.            they already knew all of the answers.
  56.       5.*) Questions pertaining to the various shells, and the differences.
  57.       6.*) An overview of Unix variants.
  58.       7.*) An comparison of configuration management systems (RCS, SCCS).
  59.  
  60. This article includes answers to:
  61.  
  62.       7.1)  RCS vs SCCS:  Introduction
  63.       7.2)  RCS vs SCCS:  How do the interfaces compare?
  64.       7.3)  RCS vs SCCS:  What's in a Revision File?
  65.       7.4)  RCS vs SCCS:  What are the keywords?
  66.       7.5)  What's an RCS symbolic name?
  67.       7.6)  RCS vs SCCS:  How do they compare for performance?
  68.       7.7)  RCS vs SCCS:  Version Identification.
  69.       7.8)  RCS vs SCCS:  How do they handle problems?
  70.       7.9)  RCS vs SCCS:  How do they interact with make(1)?
  71.       7.10) RCS vs SCCS:  Conversion
  72.       7.11) RCS vs SCCS:  Support
  73.       7.12) RCS vs SCCS:  Command Comparison
  74.       7.13) RCS vs SCCS:  Acknowledgements
  75.       7.14) Can I get more information on configuration management systems?
  76.  
  77. If you're looking for the answer to, say, question 7.5, and want to skip
  78. everything else, you can search ahead for the regular expression "^7.5)".
  79.  
  80. While these are all legitimate questions, they seem to crop up in
  81. comp.unix.questions or comp.unix.shell on an annual basis, usually
  82. followed by plenty of replies (only some of which are correct) and then
  83. a period of griping about how the same questions keep coming up.  You
  84. may also like to read the monthly article "Answers to Frequently Asked
  85. Questions" in the newsgroup "news.announce.newusers", which will tell
  86. you what "UNIX" stands for.
  87.  
  88. With the variety of Unix systems in the world, it's hard to guarantee
  89. that these answers will work everywhere.  Read your local manual pages
  90. before trying anything suggested here.  If you have suggestions or
  91. corrections for any of these answers, please send them to to
  92. tmatimar@isgtec.com.
  93.  
  94. ----------------------------------------------------------------------
  95.  
  96. Subject: RCS vs SCCS:  Introduction
  97. Date: Sat, 10 Oct 92 19:34:39 +0200
  98. From: Bill Wohler <wohler@newt.com>
  99.  
  100. 7.1)  RCS vs SCCS:  Introduction
  101.  
  102.       The majority of the replies (in a recent poll) were in favor of
  103.       RCS, a few for SCCS, and a few suggested alternatives such as CVS.
  104.  
  105.       Functionally RCS and SCCS are practically equal, with RCS having
  106.       a bit more features since it continues to be updated.
  107.  
  108.       Note that RCS learned from the mistakes of SCCS...
  109.  
  110. ------------------------------
  111.  
  112. Subject: RCS vs SCCS:  How do the interfaces compare?
  113. Date: Sat, 10 Oct 92 19:34:39 +0200
  114. From: Bill Wohler <wohler@newt.com>
  115.  
  116. 7.2)  RCS vs SCCS:  How do the interfaces compare?
  117.  
  118.       RCS has an easier interface for first time users.  There are less
  119.       commands, it is more intuitive and consistent, and it provides
  120.       more useful arguments.
  121.  
  122.       Branches have to be specifically created in SCCS.  In RCS, they
  123.       are checked in as any other version.
  124.  
  125. ------------------------------
  126.  
  127. Subject: RCS vs SCCS:  What's in a Revision File?
  128. Date: Sat, 10 Oct 92 19:34:39 +0200
  129. From: Bill Wohler <wohler@newt.com>
  130.  
  131. 7.3)  RCS vs SCCS:  What's in a Revision File?
  132.  
  133.       RCS keeps history in files with a ",v" suffix.  SCCS keeps
  134.       history in files with a "s." prefix.
  135.  
  136.       RCS looks for RCS files automatically in the current directory or
  137.       in a RCS subdirectory, or you can specify an alternate RCS file.
  138.       The sccs front end to SCCS always uses the SCCS directory.  If
  139.       you don't use the sccs front end, you must specify the full SCCS
  140.       filename.
  141.  
  142.       RCS stores its revisions by holding a copy of the latest version
  143.       and storing backward deltas.  SCCS uses a "merged delta"
  144.       concept.
  145.  
  146.       All RCS activity takes place within a single RCS file.  SCCS
  147.       maintains several files.  This can be messy and confusing.
  148.  
  149.       Editing either RCS or SCCS files is a bad idea because mistakes
  150.       are so easy to make and so fatal to the history of the file.
  151.       Revision information is easy to edit in both types, whereas one
  152.       would not want to edit the actual text of a version in RCS.  If
  153.       you edit an SCCS file, you will have to recalculate the checksum
  154.       using the admin program.
  155.  
  156. ------------------------------
  157.  
  158. Subject: RCS vs SCCS:  What are the keywords?
  159. Date: Sat, 10 Oct 92 19:34:39 +0200
  160. From: Bill Wohler <wohler@newt.com>
  161.  
  162. 7.4)  RCS vs SCCS:  What are the keywords?
  163.  
  164.       RCS and SCCS use different keywords that are expanded in the
  165.       text.  For SCCS the keyword "%I%" is replaced with the revision
  166.       number if the file is checked out for reading.
  167.  
  168.       The RCS keywords are easier to remember, but keyword expansion is
  169.       more easily customized in SCCS.
  170.  
  171.       In SCCS, keywords are expanded on a read-only get.  If a version
  172.       with expanded keywords is copied into a file that will be
  173.       deltaed, the keywords will be lost and the version information in
  174.       the file will not be updated.  On the other hand, RCS retains the
  175.       keywords when they are expanded so this is avoided.
  176.  
  177. ------------------------------
  178.  
  179. Subject: What's an RCS symbolic name?
  180. Date: Sat, 10 Oct 92 19:34:39 +0200
  181. From: Bill Wohler <wohler@newt.com>
  182.  
  183. 7.5)  What's an RCS symbolic name?
  184.  
  185.       RCS allows you treat a set of files as a family of files while
  186.       SCCS is meant primarily for keeping the revision history of
  187.       files.
  188.  
  189.       RCS accomplishes that with symbolic names: you can mark all the
  190.       source files associated with an application version with `rcs
  191.       -n', and then easily retrieve them later as a cohesive unit.  In
  192.       SCCS you would have to do this by writing a script to write or
  193.       read all file names and versions to or from a file.
  194.  
  195. ------------------------------
  196.  
  197. Subject: RCS vs SCCS:  How do they compare for performance?
  198. Date: Sat, 10 Oct 92 19:34:39 +0200
  199. From: Bill Wohler <wohler@newt.com>
  200.  
  201. 7.6)  RCS vs SCCS:  How do they compare for performance?
  202.  
  203.       Since RCS stores the latest version in full, it is much faster in
  204.       retrieving the latest version.  After RCS version 5.6, it is also
  205.       faster than SCCS in retrieving older versions.
  206.  
  207. ------------------------------
  208.  
  209. Subject: RCS vs SCCS:  Version Identification.
  210. Date: Sat, 10 Oct 92 19:34:39 +0200
  211. From: Bill Wohler <wohler@newt.com>
  212.  
  213. 7.7)  RCS vs SCCS:  Version Identification.
  214.  
  215.       SCCS is able to determine when a specific line of code was added
  216.       to a system.
  217.  
  218. ------------------------------
  219.  
  220. Subject: RCS vs SCCS:  How do they handle problems?
  221. Date: Sat, 10 Oct 92 19:34:39 +0200
  222. From: Bill Wohler <wohler@newt.com>
  223.  
  224. 7.8)  RCS vs SCCS:  How do they handle problems?
  225.  
  226.       If you are missing the sccs or rcs tools, or the RCS or SCCS file
  227.       is corrupt and the tools don't work on it, you can still retrieve
  228.       the latest version in RCS.  Not true with SCCS.
  229.  
  230. ------------------------------
  231.  
  232. Subject: RCS vs SCCS:  How do they interact with make(1)?
  233. Date: Wed, 30 Dec 1992 10:41:51 -0700
  234. From: Blair P. Houghton <bhoughto@sedona.intel.com>
  235.  
  236. 7.9)  RCS vs SCCS:  How do they interact with make(1)?
  237.  
  238.       The fact that SCCS uses prefixes (s.file.c) means that make(1)
  239.       can't treat them in an ordinary manner, and special rules
  240.       (involving '~' characters) must be used in order for make(1) to
  241.       work with SCCS; even so, make(1) on some UNIX platforms will not
  242.       apply default rules to files that are being managed with SCCS.
  243.       The suffix notation (file.c,v) for RCS means that ordinary
  244.       suffix-rules can be used in all implementations of make(1), even
  245.       if the implementation isn't designed to handle RCS files
  246.       specially.
  247.  
  248. ------------------------------
  249.  
  250. Subject: RCS vs SCCS:  Conversion.
  251. Date: Sat, 10 Oct 92 19:34:39 +0200
  252. From: Bill Wohler <wohler@newt.com>
  253.  
  254. 7.10) RCS vs SCCS:  Conversion.
  255.  
  256.       RCS provides a program to convert from SCCS to RCS.  One would
  257.       have to write his own program to convert from RCS to SCCS.
  258.  
  259. ------------------------------
  260.  
  261. Subject: RCS vs SCCS:  Support
  262. Date: Sat, 10 Oct 92 19:34:39 +0200
  263. From: Bill Wohler <wohler@newt.com>
  264.  
  265. 7.11) RCS vs SCCS:  Support
  266.  
  267.       SCCS is supported by AT&T.  RCS is supported by the Free Software
  268.       Foundation.  Therefore RCS runs on many more platforms, including
  269.       PCs.
  270.  
  271.       Most make programs recognize SCCS's "s."  prefix while GNU make
  272.       is one of the few that handles RCS's ",v" suffix.
  273.  
  274.       Some tar programs have a -F option that ignores either RCS
  275.       directories, or SCCS directories or both.
  276.  
  277. ------------------------------
  278.  
  279. Subject: RCS vs SCCS:  Command Comparison
  280. Date: Sat, 10 Oct 92 19:34:39 +0200
  281. From: Bill Wohler <wohler@newt.com>
  282.  
  283. 7.12) RCS vs SCCS:  Command Comparison
  284.  
  285.       SCCS                        RCS                   Explanation
  286.       ====                        ===                   ===========
  287.  
  288.       sccs admin -i -nfile file   ci file               Checks in the file
  289.                                                         for the first time,
  290.                                                         creating the revision
  291.                                                         history file.
  292.  
  293.       sccs get file               co file               Check out a file for
  294.                                                         reading.
  295.  
  296.       sccs edit file              co -l file            Check out a file for
  297.                                                         modification.
  298.  
  299.       sccs delta file             ci file               Check in a file
  300.                                                         previously locked.
  301.  
  302.       what file                   ident file            Print keyword
  303.                                                         information.
  304.  
  305.       sccs prs file               rlog file             Print a history of
  306.                                                         the file.
  307.  
  308.       sccs sccsdiff -rx -ry file  rcsdiff -rx -ry file  Compare two
  309.                                                         revisions.
  310.  
  311.       sccs diffs file             rcsdiff file          Compare current with
  312.                                                         last revision.
  313.  
  314.       sccs edit -ix-y file        rcsmerge -rx-y file   Merge changes between
  315.                                                         two versions into
  316.                                                         file.
  317.  
  318.       ???                         rcs -l file           Lock the latest
  319.                                                         revision.
  320.  
  321.       ???                         rcs -u file           Unlock the latest
  322.                                                         revision.  Possible
  323.                                                         to break another's 
  324.                                                         lock, but mail is
  325.                                                         sent to the other
  326.                                                         user explaining why.
  327.  
  328. ------------------------------
  329.  
  330. Subject: RCS vs SCCS:  Acknowledgements
  331. Date: Sat, 10 Oct 92 19:34:39 +0200
  332. From: Bill Wohler <wohler@newt.com>
  333.  
  334. 7.13) RCS vs SCCS:  Acknowledgements
  335.  
  336.       I would like to thank the following persons for contributing to
  337.       these articles.  I'd like to add your name to the list--please
  338.       send comments or more references to Bill Wohler <wohler@newt.com>.
  339.  
  340.         Karl Vogel <vogel@c-17igp.wpafb.af.mil>
  341.         Mark Runyan <runyan@hpcuhc.cup.hp.com>
  342.         Paul Eggert <eggert@twinsun.com>
  343.         Greg Henderson <henders@infonode.ingr.com>
  344.         Dave Goldberg <dsg@mbunix.mitre.org>
  345.         Rob Kurver <rob@pact.nl>
  346.         Raymond Chen <rjc@math.princeton.edu>
  347.         Dwight <dwight@s1.gov>
  348.  
  349. ------------------------------
  350.  
  351. Subject: Can I get more information on configuration management systems?
  352. Date: Thu Oct 15 10:27:47 EDT 1992
  353. From: Ted Timar <tmatimar@isgtec.com>
  354.  
  355. 7.14) Can I get more information on configuration management systems?
  356.  
  357.       Bill Wohler, who compiled all of the information in this part of
  358.       the FAQ, has compiled much more information.  This information is
  359.       available for ftp from ftp.wg.omron.co.jp (133.210.4.4) under
  360.       "pub/unix-faq/docs/rev-ctl-sys".
  361.  
  362. ------------------------------
  363.  
  364. End of unix/faq Digest part 7 of 7
  365. **********************************
  366.  
  367. -- 
  368. Ted Timar - tmatimar@isgtec.com
  369. ISG Technologies Inc., 6509 Airport Road, Mississauga, Ontario, Canada L4V 1S7
  370.